package com.xmtlxx.oms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 出入库订单明细视图对象 t_task_dtl
 *
 * @author xmtlxx
 * @date 2022-08-12
 */
@Data
@ApiModel("出入库订单导出明细视图对象")
@ExcelIgnoreUnannotated
public class TaskDtlExportVo {

    private static final long serialVersionUID = 1L;

    /**
     * 明细ID
     */
    @ApiModelProperty("明细ID")
    private String id;

    /**
     * 出入库订单ID
     */
    @ApiModelProperty("出入库订单ID")
    private String taskId;

    @ExcelProperty(value = "序号")
    private Integer index;

    @ExcelProperty(value = "订单编号")
    private String taskNo;

    /**
     * 类型
     */
//    @ExcelProperty(value = "订单类型", converter = ExcelDictConvert.class)
//    @ExcelDictFormat(dictType = "oms_task_type")
//    @ApiModelProperty("类型")
//    private String type;

    /**
     * 物品编号
     */
    @ExcelProperty(value = "物品编号")
    @ApiModelProperty("物品编号")
    private String pno;

    @ExcelProperty(value = "物品编码")
    @ApiModelProperty("物品编码")
    private String qrcode;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    @ApiModelProperty("物品名称")
    private String name;

    /**
     * 数量
     */
    @ExcelProperty(value = "物品数量")
    @ApiModelProperty("数量")
    private Long nums;

    @ExcelProperty(value = "物品特征")
    @ApiModelProperty("物品特征")
    private String character;

    /**
     * 物品所在单位
     */
    @ExcelProperty(value = "扣押单位")
    @ApiModelProperty("扣押单位")
    private String officeName;

    /**
     * 物品所在机构单位
     */
    @ExcelProperty(value = "所属单位")
    @ApiModelProperty("所属单位")
    private String belongDeptName;

    @ExcelProperty(value = "物品状态")
    @ApiModelProperty("物品状态")
    private String status;

    @ExcelProperty(value = "保管位置")
    @ApiModelProperty("保管位置")
    private String localName;

    @ExcelProperty(value = "入库时间")
    private String intime;
    /**
     * 入库数量
     */
    @ApiModelProperty("入库数量")
    private Long innums;

    /**
     * 出库数量
     */
    @ApiModelProperty("出库数量")
    private Long outnums;
    /**
     * 调用数量
     */
    @ApiModelProperty("调用数量")
    private Long tnums;
    /**
     * 归还数量
     */
    @ApiModelProperty("归还数量")
    private Long rnums;

    /**
     * 库存数量
     */
    @ApiModelProperty("库存数量")
    private Long inums;

    /**
     * 处置数量
     */
    @ApiModelProperty("处置数量")
    private Long deals;

    @ApiModelProperty(value = "出库取证数")
    private Long eoutnums;

    @ApiModelProperty(value = "调用取证数")
    private Long etnums;

    private String storeName;

    private String areaName;

    private String locatorName;

    private String cabinetName;

    private String groupName;

    private String floors;

}
